home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d19
/
ckzp101.arc
/
HINTS.BBS
< prev
next >
Wrap
File List
|
1991-01-26
|
2KB
|
75 lines
============================================================================
HINTS.BBS : Mostly of interest of BBS SysOps : CHECKZIP v1.01 9th Jan 1991
============================================================================
Here is my PCBoard's PCBTEST.BAT file (Comm 1):
(note I also use PROECHO to pass a message to the user)
-------------------------------------------------------
@echo off
rem -- process test uploads request - for PCBoard 14.5
rem -- %1-\path\filename, %2-the word UPLOAD
if exist pcbfail.txt del pcbfail.txt
if exist pcbpass.txt del pcbpass.txt
if not "%2" == "UPLOAD" goto TestZip
:TESTUPLOAD
checkzip \pcb\uploads
if errorlevel == 2 goto VirusFound
if errorlevel == 1 goto FailedZip
goto End
:VIRUSFOUND
del pcbpass.txt
rem>pcbfail.txt
proecho 1 Upload deleted - Virus found!~~
goto End
:FAILEDZIP
del pcbpass.txt
rem>pcbfail.txt
proecho 1 Upload deleted - Failed ZIP integrity check.~~
goto End
:TESTZIP
pkunzip -t %1
if errorlevel == 1 proecho 1 ~~File failed test. Please inform Stewart~
goto End
:END
============================================================================
Here is my ProDoor's PROUTEST.BAT :
(note I also use PROECHO to pass a message to the user)
-------------------------------------------------------
@echo off
rem -- process test uploads request - for ProDOOR 3.4ß
rem -- %1-logfile, %2-testdir, %3-comport
if not exist %2\*.* goto End
:TESTUPLOAD
proecho %3 ~~Testing uploads for Viruses. Please wait...~
checkzip %2 >>%1
if errorlevel == 2 proecho %3 ~Upload deleted - Virus found!~~
if errorlevel == 1 proecho %3 ~Upload deleted - Failed ZIP integrity check.~~
goto End
:END
============================================================================
For Multinode bbs's running under DESQview
------------------------------------------
I experienced some problems when using DESQview v2.25 which were overcome
when I upgraded to v2.26.
============================================================================
Enjoy!
PCB-SiG BBS
Have fun.... Stewart (65) 734 9223